package com.sikao.app.bean;

import java.util.List;

/**
 * Created by Sun on 2016/8/1.
 * 立即下单前根据属性影响价格 提交参数
 */
public class MallGoodsAttrChangePriceSubmitBean {

    /**
     * type : Coal
     * goodsId : 17
     * buyNumber : 200
     * objType : goods
     * attr : [{"id":"2","value":"7%"},{"id":"3","value":"7000大卡"}]
     */

    private String type;
    private String goodsId;
    private String buyNumber;
    private String objType;
    /**
     * id : 2
     * value : 7%
     */

    private List<AttrBean> attr;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }

    public String getBuyNumber() {
        return buyNumber;
    }

    public void setBuyNumber(String buyNumber) {
        this.buyNumber = buyNumber;
    }

    public String getObjType() {
        return objType;
    }

    public void setObjType(String objType) {
        this.objType = objType;
    }

    public List<AttrBean> getAttr() {
        return attr;
    }

    public void setAttr(List<AttrBean> attr) {
        this.attr = attr;
    }

    public static class AttrBean {
        private String id;
        private String value;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getValue() {
            return value;
        }

        public void setValue(String value) {
            this.value = value;
        }
    }
}
